package com.ruoyi.team.service.impl;


import com.ruoyi.team.domain.vo.MgTeam;
import com.ruoyi.team.domain.vo.TeamOrder;
import com.ruoyi.team.domain.vo.TeamUser;
import com.ruoyi.team.mapper.TeamInformationMapper;
import com.ruoyi.team.service.ITeamInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeamInformationServiceImpl implements ITeamInformationService {
    @Autowired
    private TeamInformationMapper mgTeamMapper;

    @Override
    public List<MgTeam> selectTeamList(MgTeam mgTeam) {
        return mgTeamMapper.selectTeamList(mgTeam);
    }
    

    @Override
    public MgTeam selectTeamById(Integer id) {
        return mgTeamMapper.selectTeamById(id);
    }

    @Override
    public int updateMgTeam(MgTeam data) {
        return mgTeamMapper.updateMgTeam(data);
    }

    @Override
    public List<TeamUser> getUserListByTeamId(Integer id) {
        return mgTeamMapper.getUserListByTeamId(id);
    }

    @Override
    public List<TeamOrder> getOrderListByTeamId(Integer id) {
        return mgTeamMapper.getOrderListByTeamId(id);
    }

	@Override
	public List<MgTeam> getTeamList(long[] teamIds) {
		// TODO Auto-generated method stub
		return mgTeamMapper.getTeamList(teamIds);
	}
	
	


	@Override
	public <VO> int updatePayStatus(VO payManager) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public List<MgTeam> selectListById(int id) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public List<MgTeam> selectListByIds(int[] ids) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public <VO> List<VO> getOrderLogVOSById(int id, Class<VO> voClass) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public <VO> int batchInsert(List<VO> data) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public int batchInsert(List<MgTeam> data, int id) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public MgTeam selectById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public List<MgTeam> selectList(MgTeam manuscript) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public int insert(MgTeam manuscript) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public int update(MgTeam manuscript) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public int deleteByIds(Integer[] ids) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public int deleteById(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public int count() {
		
		return mgTeamMapper.count();
	}


	@Override
	public List<MgTeam> selectTeamList(long id, long num) {

		return mgTeamMapper.selectTeamListByParsePrice(id, num);
	}


	@Override
	public long maxId() {
		// TODO Auto-generated method stub
		return mgTeamMapper.maxId();
	}


	@Override
	public long minId() {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public int updateDiscount(List<MgTeam> data) {
		// TODO Auto-generated method stub
		return mgTeamMapper.updateDiscount(data);
	}
}
